﻿<Window x:Class="Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Customer" Height="367" Width="487" Name="Window1">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100*" />
            <ColumnDefinition Width="293*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="50*" />
            <RowDefinition Height="262*" />
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="1" Name="StackPanel1">
            <Label Name="Label1" HorizontalContentAlignment="Right" Height="28" Margin="3" Width="Auto">Name</Label>
            <Label Name="Label2" HorizontalContentAlignment="Right" Height="28" Margin="3" Width="Auto">Address</Label>
            <Label Name="Label3" HorizontalContentAlignment="Right" Height="28" Margin="3" Width="Auto">City</Label>
            <Label Name="Label4" HorizontalContentAlignment="Right" Height="28" Margin="3" Width="Auto">Zip</Label>
            <Label Name="Label5" HorizontalContentAlignment="Right" Height="28" Margin="3" Width="Auto">Phone</Label>
            <Label Name="Label7" HorizontalContentAlignment="Right" Height="28" Margin="3" Width="Auto" >UserName</Label>
            <Label Name="Label8" HorizontalContentAlignment="Right" Height="28" Margin="3" Width="Auto" >Password</Label>
        </StackPanel>
        <StackPanel Grid.Column="1" Grid.Row="1" Name="StackPanel2" Margin="3">
            <TextBox Name="txtName" 
                     Text="{Binding Path=Name, ValidatesOnDataErrors=True}" 
                     Height="28" 
                     Margin="3" 
                     HorizontalAlignment="Stretch" /> 
            <TextBox Name="txtAddress" 
                     Text="{Binding Path=Address, ValidatesOnDataErrors=True}" 
                     Height="28" 
                     Margin="3" 
                     HorizontalAlignment="Stretch" />
            <TextBox Name="txtCity" 
                     Text="{Binding Path=City, ValidatesOnDataErrors=True}" 
                     Height="28" 
                     Margin="3" 
                     HorizontalAlignment="Stretch" />
            <TextBox Name="txtZip"                      
                     Text="{Binding Path=ZIP, ValidatesOnDataErrors=True}" 
                     Height="28" 
                     Width="138"
                     Margin="3" 
                     HorizontalAlignment="Left" />
            <TextBox Name="txtPhone" 
                     Text="{Binding Path=Phone, ValidatesOnDataErrors=True}" 
                     Height="28" 
                     Width="138"
                     Margin="3" 
                     HorizontalAlignment="Left" />
            <TextBox Name="txtUserName" 
                     Text="{Binding Path=UserName, ValidatesOnDataErrors=True}" 
                     Height="28" 
                     Width="138" 
                     Margin="3"
                     HorizontalAlignment="Left" />
            <TextBox Name="txtPassword" 
                     Text="{Binding Path=Password, ValidatesOnDataErrors=True}" 
                     Height="28" 
                     Width="138" 
                     Margin="3"
                     HorizontalAlignment="Left" />
            <StackPanel Name="StackPanel4" Orientation="Horizontal" Height="31" Width="166" HorizontalAlignment="Right" VerticalAlignment="Bottom">
                <Button Height="23" Name="btnSave" Width="75" VerticalAlignment="Bottom" Margin="3" >Save</Button>
                <Button Height="23" Name="btnCancel" Width="75" VerticalAlignment="Bottom" Margin="3">Cancel</Button>
            </StackPanel>
            </StackPanel>
        <StackPanel Grid.ColumnSpan="2" Name="StackPanel3" Orientation="Horizontal" Opacity="1" Background="Cyan">
            <Label Height="28" Name="Label6" Width="119" HorizontalContentAlignment="Right">Lookup By Phone:</Label>
            <TextBox Height="23" Name="txtSearch" Width="120" />
            <Button Height="23" Name="Button1" Width="57">Go</Button>
        </StackPanel>
    </Grid>
</Window>
